/**
 * 
 */
package org.swing.utility.jai.magic.info;

/**
 * @author Quynh Nhu
 * 
 */
public class ProfileInfo {

	/**
	 * Name of the profile.
	 */
	String name = null;

	/**
	 * Profile information.
	 */
	byte[] info = null;

	/**
	 * Constructor.
	 */
	public ProfileInfo() {
	}

	/**
	 * Constructor.
	 * 
	 * @param name
	 *            name of the profile
	 * @param info
	 *            the profile information
	 */
	public ProfileInfo(String name, byte[] info) {
		this.name = name;
		this.info = info;
	}

	/**
	 * Get the profile name.
	 * 
	 * @Deprecated After ImageMagick 5.5.7 (?) names are not available
	 * @return the profile name
	 */
	public String getName() {
		return name;
	}

	/**
	 * Set the profile name.
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * Get the profile info.
	 * 
	 * @return the profile info
	 */
	public byte[] getInfo() {
		return info;
	}

	/**
	 * Set the profile info.
	 */
	public void setInfo(byte[] info) {
		this.info = info;
	}

}
